/**
 * 自动通知管理初始化
 */
var table1 = {
    id: "T1",	//表格id
    seItem: null,		//选中的条目
    table: null,
    layerIndex: -1
};

//打印出库
function openPrint() {

    window.print();


}


var aTable = null
var mTable = null;
$(function () {

    layui.use('table', function(){
        var table = layui.table;
        table.render({
            elem: '#T1'
            ,url:Feng.ctxPath+"/tOrder/pDataList?ids=" + $('#ids').val(),
            size: 'sm',
            page:false,
            cols: [[
                {field:'original_num', width:115, title: '单号' }
                ,{field:'consignee', width:66, title: '收货人'}
                ,{field:'goods_name', width:80, title: '货物名称' }
                ,{field:'goods_piece', width:66, title: '件数'}
                ,{field:'payment', width:66, title: '提付'}
                ,{field:'collection', width:80, title: '代收货款' }
                ,{field:'extra_money', width:66, title: '落地费' }
                ,{field:'c', width:66 , title: '送货费' }
                ,{field:'d', width:66 , title: '仓储费' }
                ,{field:'e', width:66 , title: '搬运费' }
                ,{field:'f', width:60 , title: '车费' }
                ,{field:'receipt', width:90, title: '回单要求' }
            ]]
        });
    });



});